<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>修改博客信息</title>
	<link rel="stylesheet" href="js/jquery-ui/themes/base/all.css">
	<style>
		.u{
			width: 100%;
			border-collapse: collapse;
			font-family:汉仪小隶书繁;
			font-size:18px;
		}
		.u td{
			border:solid 1px #ccc;
			height:30px;
			border:0;
		}
	</style>
	<script src="js/jquery.js"></script>
</head>
<body>
	<form action="modifyBlog.do" method="post" enctype="multipart/form-data">
	<table class="u" >
		<tr>
			<td>博客名</td>
			<td><input type="text" name="blogName" value="${sessionScope.userInfo.blog.blogName }"></td>
		</tr>
		<tr>
			<td>昵称</td>
			<td><input type="text" name="nickName" value="${sessionScope.userInfo.blog.nickName }"></td>
		</tr>
		<tr>
        <td >个人头像</td>
         <td><img src="photos/${sessionScope.userInfo.blog.photo}" width="70px" height="70px"><br/>
         <input type="file" name="picture"/>
        </td>
      </tr>
		<tr>
			<td>描述</td>
			<td><input type="text" name="description" value="${sessionScope.userInfo.blog.description }"></td>
		</tr>
		<tr>
			<td>公告</td>
			<td><input type="text" name="affiche" value="${sessionScope.userInfo.blog.affiche }"></td>
		</tr>
	</table>
	${msg }
	<input type="submit" value="保存修改">
	</form>
	
</body>
</html>